import Mock from 'mockjs'
const Success = (message,data) => {
  return Mock.mock({
    code:'200',
    status: true,
    data:data,
    message: message,
  })
}


const Error = (message) => {
  return Mock.mock({
    code: 500,
    status: false,
    message: message,
  })
}
export{
    Success,
    
    Error
}